<%-- 
    Document   : login
    Created on : Jul 7, 2011, 6:03:44 PM
    Author     : cedric.creusot
--%>
<logic:equal parameter="string" value="registered">
    <div class="element">
        <label><font color="green"><spring:message code="register.validate"/></font></label>
    </div>
</logic:equal>
<form:form modelAttribute="user"  class="module">
    <div class="element">
        <label>Login (Mail):</label>
        <form:input path="mail" />
        <font color="red"><form:errors path="mail"/></font>
    </div>
    <div class="element">
        <label>Password:</label>
        <form:password path="password"/>
        <font color="red"><form:errors path="password"/></font>
    </div>
    <input type="submit"/>
    <p><a href="./register.htm">Register</a></p>
</form:form>
